package com.swc.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.swc.user.pojo.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author songwc
 * @date 2020/5/30 11:24
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 分页查询
     * @param page
     * @return
     */
    IPage<User> findPage(Page<?> page);

}
